﻿using System.Collections.Generic;

namespace DesignPatterns.MementoProject
{
    // 备忘录
    public class ContactMemento
    {
        // 保存发起人的内部状态
        public List<ContactPerson> contactPersonBack;
        
        public ContactMemento(List<ContactPerson> persons)
        {
            contactPersonBack = persons;
        }
    }
}